package com.common.model.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 描述：
 *  返回映射对象
 * @author xianggj
 * @Date 2021/11/20 16:43
 **/
@Data
@Accessors(chain = true)
@ApiModel(description = "映射对象")
@NoArgsConstructor
@AllArgsConstructor
public class IdAndName {

    @ApiModelProperty(value = "真实值")
    private String id;

    @ApiModelProperty(value = "显示值")
    private String name;
}
